package com.ltedu.common.dto;

import com.ltedu.common.domain.SecurityUser;
import java.io.Serializable;
import java.util.Set;

/**
 * @className: UserDTO
 * @auther: Jerry
 * @date: 2020/11/27 20:16
 * @desctiption: TODO
 * @version: 1.0
 */
public class UserDTO implements Serializable {

    private static final long serialVersionUID = 6089134919463411173L;

    /**
     * 登录用户
     */
    private SecurityUser user;

    /**
     * 角色信息
     */
    private Set<String> roles;

    /**
     * 权限信息
     */
    private Set<String> permissions;

    public SecurityUser getUser() {
        return user;
    }

    public void setUser(SecurityUser user) {
        this.user = user;
    }

    public Set<String> getRoles() {
        return roles;
    }

    public void setRoles(Set<String> roles) {
        this.roles = roles;
    }

    public Set<String> getPermissions() {
        return permissions;
    }

    public void setPermissions(Set<String> permissions) {
        this.permissions = permissions;
    }
}
